package com.portal.portal;

import javax.servlet.ServletConfig;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;

public class PortletServlet extends HttpServlet {

  private static final long serialVersionUID = 1L;

  private String portletName;

  @Override
  public void init(ServletConfig config) throws ServletException {
    super.init(config);
    portletName = getInitParameter("portlet-name");
    registerPortlet(getServletContext(), Thread.currentThread().getContextClassLoader());
  }

  private boolean registerPortlet(final ServletContext servletContext, final ClassLoader classLoader) {
    return false;
  }

  public void destroy() {
  }
}